package com.google.test;

/**
 * @author Mucd
 * @Date 2020/12/4/004
 * @ClassName DoWhile
 */
public class DoWhile {
    public static void main(String[] args) {
        int i = 1;
        int sum = 0;
        int max = 1999999999;
        do {
            sum += i;
            i++;
        }while(i<=100);
        System.out.println(sum);


        do {
            System.out.println(i);
            i++;
        }while(i<max);

    }
}
